package model

import "gorm.io/gorm"

type company struct {
	gorm.Model
	//cpId  int primary key,
	//cp_name char(20) not null,
	//in_date date,
	//cp_remain int,
	//cp_sno char(20) not null,
	//cp_expense int,
	//cp_local int not null
	CpId      int    `gorm:"type:int primary key"json:"cp_id"`
	Lcname    string `gorm:"type:char(20) primary key"json:"lc_name"`
	Indate    string `gorm:"type:date"json:"in_date"`
	Cpremain  int    `gorm:"type:int"json:"cp_remain"`
	Cpsno     string `gorm:"type:char(20) not null",json:"cp_sno"`
	Cpexpense int    `gorm:"type:int",json:"cp_expense"`
	Cplocal   int    `gorm:"type:int not null"json:"cp_local"`
}
